<div *ngIf="messageService.messages.length">

  <h2>Messages会话消息</h2>
  <button class="clear"
          (click)="messageService.clear()">clear</button>
  <div *ngFor='let message of messageService.messages'> {{message}} </div>

</div>
